<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,
        body {
            margin: 0%;
        }

        * {
            box-sizing: border-box;
        }
        body{
            font-size: 16px;
            font-family: 'Courier New', Courier, monospace;
        }

        td,
        th {
            border: none;
            height: 30px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        .topone {
            display: flex;
        }

        thead {
            width: 100%;
        }

        .one {
            width: 100px;
        }

        .two {
            flex: 1;

        }

        .toptwo {
            display: flex;
        }

        .three {
            width: 100px;
        }

        .four {
            flex: 1;

        }

        .all {
            padding: 20px;
        }

        .bottomone {
            display: flex;
        }

        .five {
            width: 100px;
        }

        .six {
            flex: 1;

        }

        .edi {
            background-color:#FFC000;
        }

        .del {
            background-color: #C00000;
            margin-left: 20px;
            color: white;
        }
        button{
            width: 120px;
            border: none;
            padding: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        .bottomone th{
            text-align: start;
        }
    </style>
</head>

<body>
    <div class="all">
        <div>
            <a href="./detail in.html"><button class="edi">编辑</button></a>
            <button class="del">删除</button>
        </div>
        <!-- top -->

        <h3>联系人基本信息</h3>
        <div>
            <table>
                <thead>
                    <tr class="topone">
                        <td class="one">姓名</td>
                        <td class="two">xxx</td>
                        <td class="one">职务</td>
                        <td class="two">xxx</td>
                    </tr>
                </thead>
                <tbody>
                    <tr class="topone">
                        <td class="one">性别</td>
                        <td class="two">xxx</td>
                        <td class="one">是否为决策人</td>
                        <td class="two">是</td>
                    </tr>
                    <tr class="topone">
                        <td class="one">邮箱地址</td>
                        <td class="two">xxx</td>
                        <td class="one">联系电话</td>
                        <td class="two">xxx</td>
                    </tr>
                    <tr class="toptwo">
                        <td class="three">联系地址</td>
                        <td class="four"> xxx </td>
                    </tr>
                    <tr class="toptwo">
                        <td class="three">备注</td>
                        <td class="four">xxx</td>
                    </tr>

                </tbody>
            </table>
        </div>


        <!-- bottom -->
        <div>
            <h3>跟进记录</h3>
            <table>
                <thead>
                    <tr class="bottomone">
                        <td class="five">跟进时间</td>
                        <td class="five">跟进方式</td>
                        <td class="six">跟进记录</td>
                    </tr>
                </thead>
                <tbody>
                    <tr class="bottomone">
                        <td class="five">xxx</td>
                        <td class="five">xxx</td>
                        <td class="six">xxx</td>
                    </tr>
                    <tr class="bottomone">
                        <td class="five">xxx</td>
                        <td class="five">xxx</td>
                        <td class="six">xxx</td>
                    </tr>
                    <tr class="bottomone">
                        <td class="five">xxx</td>
                        <td class="five">xxx</td>
                        <td class="six">xxx</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</body>

</html>